import { mail } from "../../hooks"
import { ImailOptions } from "../../hooks/types"

export const sendMail = (options: ImailOptions) =>
  mail.sendmail({
    ...options,
    mailFrom: "新進/轉調工程師課級訓練系統<systemalert@compeq.huizhou.gd.cn>",
    mailCc: "xiaowei1@compeq.huizhou.gd.cn",
  })
